.PHONY: docker-build
docker-build: go-build
	docker buildx build -f ./build/Dockerfile -t ${IMG} .

.PHONY: docker-push
docker-push: 
	docker push ${IMG}

.PHONY: go-build
go-build: 
	go mod tidy \
	&& /usr/local/go/bin/go install github.com/swaggo/swag/cmd/swag@latest \
	&& swag init \
	&& /usr/local/go/bin/go build -o ./bin/ops-resource-controller --tags netgo -ldflags="-w -s"